/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */



/*===============================
    MAIN
=================================*/
body {
    max-width: 982px;
    margin: 10px;
    font-family: Calibri, verdana, helvetica, sans-serif;
}

header {
}

    header .logo {
        background-image: url("../img/logo2.png");
        background-size: 289px;
        width: 289px;
        height: 60px;
        margin-bottom: 0px;
    }

    header .navbar {
        overflow: hidden;
    }
        header .navbar nav {
            border: 5px solid #f1f1f1;
            margin: 20px 0px 0px 20px;
            line-height: 40px;
        }

            header .navbar nav a {
                text-decoration: none;
                font-size: 1.2em;
                color: #bebebe;
                padding: 10px;
            }

                header .navbar nav a:hover {
                    text-decoration: underline;
                }

            .searchbox {
                display: inline-block;
                border: 5px solid #f1f1f1;
                width: 220px;
            }

                .searchbox input {
                    border: 0px;
                    height: 30px;
                    width: 120px;
                    padding: 5px 10px;
                    vertical-align: middle;
                    background-color: transparent;
                }

                .searchbox button {
                    width: 60px;
                    line-height: 24px;
                    background-image: url("../img/search.png");
                    background-size: auto 44px;
                    background-repeat: no-repeat;
                    background-position: center center;
                    opacity: 0.5;
                }
                    .searchbox button:hover {
                        opacity: 1;
                    }

#main article .midmain {
    min-height: 450px;
    margin-top: 10px;
}

/* Color Texts */
.bluetxt {
    color: #0bc;
}
.greentxt {
    color: #9b2;
}
.orangetxt {
    color: #d72;
}
.dbluetxt {
    color: #73a;
}

/* Shape Buttons */
.rndbtn {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    border-radius: 10px;
}
.rndbtn5 {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius:5px;
}
.rndbtn24 {
    -moz-border-radius: 24px;
    -webkit-border-radius: 24px;
    -ms-border-radius: 24px;
    -o-border-radius: 24px;
    border-radius: 24px;
}
.rotbtnleft {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}

/* Color Buttons */
.bluebtn {
    background-color:#4cd;
    border: 3px solid #9dd;  
    color:white;
    padding:2px 5px;
    font-size:0.8em;
}

.orangebtn {
    background-color:#d72;
    border: 3px solid #e83; 
    color:white;
    padding:2px 5px;
    font-size:0.8em;    
}


/*===============================
    HOMEPAGE
=================================*/

#main.home article .midmain {
    height: 450px;
    background-color: #e1e9f6;
    background-image: url("../img/hbanner.png");
    background-repeat: no-repeat;
}

    #main.home article .midmain .lform {
        color: #33578b;
        padding: 100px 10px 10px 20px;
        font-size: 0.9em;
        width: 400px;
    }

        #main.home article .midmain .lform div {
            padding: 5px;
        }

        #main.home article .midmain .lform .helpertxt {
            font-size: 0.7em;
        }

            #main.home article .midmain .lform .helpertxt .trouble {
                color: #33578b;
            }

            #main.home article .midmain .lform .helpertxt .remember {
                margin-left: 20px;
                color: #3393a9;
            }

        #main.home article .midmain .lform .fblink {
            width: 200px;
            height: 38px;
            background-image: url("../img/fb.png");
            background-repeat: no-repeat;
        }

        #main.home article .midmain .lform .unreg {
            color: #8fb522;
            font-size: 1.2em;
        }

            #main.home article .midmain .lform .unreg a {
                color: #8fb522;
            }


#main.home article .control {
}

    #main.home article .control > div {
        -webkit-flex: auto;
        font-weight: bold;
        font-size: 1.2em;
        background-position: left center;
        background-repeat: no-repeat;
        background-size: 80px;
        padding: 20px 0px 10px 90px;
        height: 100px;
    }

        #main.home article .control > div:hover {
            opacity: 0.8;
        }

    #main.home article .control .controltitle {
        color: #00a8c5;
    }

    #main.home article .control .ctlearn {
        background-image: url("../img/learnicon.png");
    }

        #main.home article .control .ctlearn .controltitle ~ div {
            color: #88d1d7;
        }

    #main.home article .control .ctconnect {
        background-image: url("../img/connecticon.png");
    }

        #main.home article .control .ctconnect .controltitle ~ div {
            color: #93b03c;
        }

    #main.home article .control .cthire {
        background-image: url("../img/hiredicon.png");
    }

        #main.home article .control .cthire .controltitle ~ div {
            color: #e7a062;
        }

/*===============================
    jobs BOARD
=================================*/

#main.jobs article .jobtab {
    width: 100%;
    text-align: left;
    color: #999;
    text-transform: uppercase;
}

    #main.jobs article .jobtab .jthead th:first-child {
        font-size: 2em;
        vertical-align: bottom;
    }

    #main.jobs article .jobtab .jthead th {
        padding: 5px;
    }

    #main.jobs article .jobtab .jtsubhead {
        background-color: #555;
        font-size: 1.4em;
        color: white;
        height: 48px;
        line-height: 48px;  
    }
        #main.jobs article .jobtab .jtsubhead td:first-child{
            padding-left:5px;
        }

#main.jobs article .jobtab .jtdatatable {
    width: 100%;
    text-align: left;
    color: #222;
    font-weight:bold;
    text-transform: uppercase;
    border-collapse:separate;
}

#main.jobs article .jobtab .jtdatatable .jtdatahead .expbtn {
    background-image:url("../img/navarrow_d.png");
    background-repeat:no-repeat;
    background-position:center right;
    background-size:20px;
    cursor:pointer;  
    padding-right: 24px;
}

#main.jobs article .jobtab .jtdatatable .jtdatahead .expbtn.exp {
    background-image:url("../img/navarrow_r.png");
    background-size:16px;
}    

#main.jobs article .jobtab .jtdatatable td {
    padding-left:5px;
}


#main.jobs article .jobtab .jtdatatable .jtdatahead~tr.jtdatainfo th {
    color:#999;
}

#main.jobs article .jobtab .jtdatatable .jtdatahead~tr td {
    line-height:28px;        
}

#main.jobs article .jobtab .jtdatatable .jtdatahead~tr td{
    border-top:1px solid #9b2;
    border-bottom:1px solid #9b2;
    background-color:#eee;
    cursor:pointer;
}

#main.jobs article .jobtab .jtdatatable .jtdatahead~tr.parttime td{
    background-color:#9b2;
}

#main.jobs article .jobtab .jtdatatable .jtdatahead~tr td:first-child{
    border-left:1px solid #9b2;
}

#main.jobs article .jobtab .jtdatatable .jtdatahead~tr td:last-child{
    border-right:1px solid #9b2;
}

#main.jobs article .jobtab .jtdatatable .jtdatahead.inactive~tr td:not(.sklink){ 
    border-color:gray;  
    opacity:0.5;
    cursor:auto;
}

#main.jobs article .jobtab .jtdatatable .jtdatahead~tr td img {
    width:24px;
    height:24px;        
}

#main.jobs article .jobtab .jtdatatable .jtdatahead~tr td.sklink button{
    width:100%;
}


#main.jobs article .jobtab .jtdetails{
    text-transform:none;
}

#main.jobs article .jobtab .jtdetails p,
#main.jobs article .jobtab .jtdetails li{
    font-size:0.9em;
    color:#222;
}

#main.jobs article .jobtab .jtdetails img{
    width:24px;
    margin:2px;
}
#main.jobs article .jobtab .jtdetails h4{
    color: #0bc;
}
#main.jobs article .jobtab .jtdetails td { 
    width: 50%;
    padding-left:20px;
}

#main.jobs article .jobtab .jtdetails {
    display:none;
}

#main.jobs article .midmain  .backbtn {
        background-image: url("../img/navarrow_l.png");
        background-size: 10px;
        background-repeat: no-repeat;
        background-position: left center;
        padding-left:15px;
        float:left;
        font-weight:bold;
        margin-top:10px;
    }


#main.jobs article .midmain .formholder {
    text-align:center;   
}

#main.jobs article .midmain .formholder .applybtn {
    width:200px;
    height:40px;
}



/*
@media all and (max-width: 512px) {
#main article .banner {
        opacity:0.3;
    }
}
*/

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

    .ir:before {
        content: "";
        display: block;
        width: 0;
        height: 150%;
    }

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

    /*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

    .visuallyhidden.focusable:active,
    .visuallyhidden.focusable:focus {
        clip: auto;
        height: auto;
        margin: 0;
        overflow: visible;
        position: static;
        width: auto;
    }

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

        a[href]:after {
            content: " (" attr(href) ")";
        }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
